import React, { PureComponent, Fragment } from 'react';
import { Row, Col } from 'antd';
import BuybackOrder from './buybackOrder.less';

export default class TotalInfo extends PureComponent {
  render() {
    const { data } = this.props;
    return (
      <div className={BuybackOrder.totalInfo}>
        <div style={{ height: '20px' }}>
          <div className={BuybackOrder.totalInfoFlag}>当前余额</div>
          <div className={BuybackOrder.totalInfoUnit}>（单位:万）</div>
        </div>
        <div className={BuybackOrder.totalInfoFont}>{data || 0}</div>
      </div>
    );
  }
}
